<template>
    <div class="div404">
          <el-button type="primary" @click="backHome">返回首页</el-button>
    </div>
</template>
<script>
export default {
    methods:{
        backHome(){
            this.$router.push({
                path:"/"
            });
        }
    }
}
</script>

<style>
.div404{
    text-align: center;
    width:100%;
    height:100%;
    background-image: url(../assets/404_1.jpg);
    background-repeat:no-repeat;
    background-size:100% 100%;
    -moz-background-size:100% 100%;
    
}
</style>